﻿using System;
using System.Collections.Generic;
using System.Text;

namespace C4F.DevKit.Bluetooth
{
    namespace FileTransferProfile
    {
        /// <summary>
        /// EventArgs class to be used when an DeleteFile operation begins.
        /// </summary>
        public class DeleteFileBeginEventArgs : EventArgs
        {
            #region Private Members

            /// <summary>
            /// The location of the file on remote device that has to be 
            /// deleted.
            /// </summary>
            private string remFilePath;

            /// <summary>
            /// The user-supplied state object supplied when the 
            /// asynchronous operation was requested.
            /// </summary>
            private object userState;

            #endregion

            #region Public Properties

            /// <summary>
            /// Gets the location of the file on remote device that has to be 
            /// deleted.
            /// </summary>
            public string RemoteFilePath
            {
                get
                { return this.remFilePath; }
            }

            /// <summary>
            /// Gets the user-supplied state object supplied when the 
            /// asynchronous operation was requested.
            /// </summary>
            public object UserState
            {
                get
                { return this.userState; }
            }

            #endregion

            #region Constructor
            /// <summary>
            /// Initializes the DeleteFileBeginEventArgs object.
            /// </summary>
            /// <param name="remoteFilePath">The location of the file on 
            /// remote device that has to be deleted.</param>
            /// <param name="userState">The user-supplied state object supplied
            /// when the asynchronous operation was requested.</param>
            public DeleteFileBeginEventArgs(string remoteFilePath, object userState)
                : base()
            {

                this.remFilePath = remoteFilePath;
                this.userState = userState;
            }
            #endregion
        }
    }

}